package demo1;


public class Dog extends Animal {
    String name;

    public void shout(){
        System.out.println( "发出汪汪叫......");
    }
  public void fu3(){
        shout();
  }
}

/*public  Animal shout(){
        System.out.println("狗发出叫声");
        return null;
    }*//*



    public   static final   int Add(int x, int y, int c) {
        int w = x+y+c;
        System.out.println(w);
        return w;
    }
    private double Add(double x,double y,double z){
        double a = x+y+z;
        return a;
    }
}*/
